package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 复姓-姓
 */
@Data
@Document(collection = "compound_surname")
public class CompoundSurname extends EntityBase {

    @Indexed(unique = true)
    private String name;
}
